#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/7/5
# @Author  : LiJun
# @Email   : lijun@tianyancha.com
# @Version : 1.0.0
import allure

from common.appium_base_method import BasePage
from appium_0704.page.personal_setting_page import PersonalSettingPage


class PersonalInfo(BasePage):

    @allure.step("点击设置 三个点")
    def click_setting(self):
        # 点击设置 三个点
        self.find_click(*self.by_maps(self.element["PersonalSetting"]))

        return PersonalSettingPage(self.driver, element=self.element)



